package cn.cs.mapper;

import cn.cs.pojo.CapitalPoolType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CapitalPoolTypeMapper {

    public CapitalPoolType getCapitalPoolTypeById(@Param(value = "id") String id) throws Exception;

    public List<CapitalPoolType> getCapitalPoolTypeListByMap(Map<String, Object> param) throws Exception;

    public Integer getCapitalPoolTypeCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertCapitalPoolType(CapitalPoolType capitalPoolType) throws Exception;

    public Integer updateCapitalPoolType(CapitalPoolType capitalPoolType) throws Exception;

    public Integer deleteCapitalPoolTypeById(@Param(value = "id") String id) throws Exception;

}
